UIView
extension Reactive where Base: UIView
The reactive extension can be accessed through the reactive
instance property and the reactive
static property.
-
Sets the alpha value of the view.
Declaration
Swift
public var alpha: BindingTarget<CGFloat>
-
Sets whether the view is hidden.
Declaration
Swift
public var isHidden: BindingTarget<Bool>
-
Sets whether the view accepts user interactions.
Declaration
Swift
public var isUserInteractionEnabled: BindingTarget<Bool>
-
Sets the background color of the view.
Declaration
Swift
public var backgroundColor: BindingTarget<UIColor>